package com.xqls.dal.dao.mybatis;

import com.xqls.dal.dao.FluggasTableFieldDao;
import com.xqls.dal.model.FluggasTableField;
import com.xqls.dal.service.FluggasTableFieldMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by hdg on 2017/7/5.
 */
@Repository
public class FluggasTableFieldDaoImpl implements FluggasTableFieldDao {
    @Autowired
    FluggasTableFieldMapper mapper;
    @Override
    public List<FluggasTableField> selectBydisplayfield(List<String> displayfield) {
        return mapper.selectBydisplayfield(displayfield);
    }

    @Override
    public List<FluggasTableField> selectAll() {
        return mapper.selectAll();
    }

    @Override
    public int insert(FluggasTableField record) {
        return mapper.insert(record);
    }
}
